package element;

import java.util.OptionalDouble;

public class DataArr {
    private Object[] data;

    public DataArr() {
    }

    public DataArr(int count) {
        data = new Object[count];
    }

    public Object getData(int index) {
        return data[index - 1];
    }

    public void setData(int index,Object item) {
        data[index - 1] = item;
    }
}
